package com.tianji.learning.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
@ApiModel("创建学习计划对象")
public class LearningPlanDTO {

    @ApiModelProperty("我的课表id")
    @Range(min = 1)
    private Long courseId;

    @ApiModelProperty("学习计划频次")
    @Range(min = 1, max = 99)
    private Integer freq;
}
